package correct.day21;

import java.util.*;

public class Test1
{
    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();

        int left = 1, right = n;
        while(left <= right)
        {
            System.out.print(left + " ");
            left++;
            if(left <= right)
            {
                System.out.print(right + " ");
                right--;
            }
        }
    }
}
